package com.my.blog.website.constant;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;

/**
 * @Auther lxf
 * @Date 2021/1/22
 */
@Data
@Configuration
@PropertySource(value = "classpath:file.properties")
@ConfigurationProperties(prefix = "file")
public class FileConfig {

    private String host;
}
